<template>
    <div class="vidOut">
        <video controls v-if="isStudent()"  src="https://nsedu.oss-cn-beijing.aliyuncs.com/cgclassmedia/banke-student.mp4"></video>
        <video controls v-if="isTeach() || isAdmin()"  src="https://nsedu.oss-cn-beijing.aliyuncs.com/cgclassmedia/banke-teach.mp4"></video>
    </div>
</template>

<script setup>
import {isAdmin, isStudent, isTeach} from "@/utils/auth"
</script>

<style lang="scss" scoped>
.vidOut{
    video{
        width: 100%;
    }
}
</style>
